import request from '@/utils/request';

export function addMr(token, mr) {
    return request({
        url: '/mr/add',
        method: 'post',
        data: mr,
        params: {
            token: token
        }
    });
}

export function fetchMrListByPatId(token) {
    return request({
        url: '/mr/listByPatId',
        method: 'get',
        params: {
            token: token
        }
    });
}
